package org.jeecg.modules.xxgx.cxtj.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.xxgx.cxtj.param.XxFptjKehuParam;
import org.jeecg.modules.xxgx.cxtj.param.XxFptjSeParam;
import org.jeecg.modules.xxgx.cxtj.param.XxFptjSlParam;
import org.jeecg.modules.xxgx.cxtj.vo.XxFptjKehuDTO;
import org.jeecg.modules.xxgx.cxtj.vo.XxFptjSeDTO;
import org.jeecg.modules.xxgx.cxtj.vo.XxFptjSlDTO;
import org.jeecg.modules.xxgx.cxtj.vo.XxFptjSlMxDTO;

import java.util.List;

/**
 * @Description: 销项发票
 * @Author: jeecg-boot
 * @Date:   2023-09-21
 * @Version: V1.0
 */
public interface CsXxFptjMapper {
    /**
     * 发票统计（按税率）合计
     * @param param
     * @return
     */
    public XxFptjSlDTO getXxFpxxtjHj(XxFptjSlParam param);

    /**
     * 发票统计（按税率）明细
     * @param param
     * @return
     */
    public List<XxFptjSlMxDTO> getXxFpxxtjMx(XxFptjSlParam param);

    /**
     * 发票统计（按客户）明细
     * @param param
     * @return
     */
    public IPage<XxFptjKehuDTO> getXxFpxxtjKehu(IPage<XxFptjKehuDTO> page, @Param("param")XxFptjKehuParam param);
    public List<XxFptjKehuDTO> getXxFpxxtjKehu(@Param("param")XxFptjKehuParam param);

    /**
     * 发票统计（按税额）
     * @param param
     * @return
     */
    public List<XxFptjSeDTO> getXxFpxxtjSe(XxFptjSeParam param);
}
